<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
 <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome File</title>
</head>
<body>
<center>
<h1>Java Learning Center</h1>
<h2>Login Form</h2>
<font color="red" size="5">${EMSG}</font>
<html:form action="/LoginSubmit.do">
<table>
<tr>
<td><bean:message key="label.login.un"/></td>
<td><html:text property="username"/></td>
<td><font color="red" size="5"><html:errors property="username"/></font></td>
</tr>
<tr>
<td><bean:message key="label.login.pw"/></td>
<td><html:password property="password"/></td>
<td><font color="red" size="5"><html:errors property="password"/></font></td>
</tr>
<tr><td><html:submit value="Login Now"/></td></tr>

</table>
</html:form>

</center>
</body>
</html>